package com.inteligencia.stage.services.mail;

import com.inteligencia.stage.services.mail.dto.MailServiceParametersDTO;
import com.inteligencia.stage.services.mail.exception.MailServiceException;
import com.inteligencia.stage.services.util.PlugableService;
import javax.mail.Multipart;

public abstract class MailService extends PlugableService {

    public abstract void setParameters(MailServiceParametersDTO parameters);

    public abstract void send(String senderAddress, String toAddress, String cc, String bcc, String subject, String msgTxt)
            throws MailServiceException;

    public abstract void send(String senderAddress, String toAddress, String cc, String bcc, String subject, Multipart multipart)
            throws MailServiceException;

    public abstract void sendHtml(String senderAddress, String toAddress, String cc, String bcc, String subject, String htmlText)
            throws MailServiceException;
}
